projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f793a35
)
avr32: Use correct condition around macb clock accessors
author
Haavard Skinnemoen
<
[email protected]
>
Wed, 30 Apr 2008 11:09:56 +0000
(13:09 +0200)
committer
Haavard Skinnemoen
<
[email protected]
>
Tue, 27 May 2008 13:27:29 +0000
(15:27 +0200)
get_macb_pclk_rate() and get_macb_hclk_rate() should be available when
the chip has a MACB controller, not when it has a USART.
Signed-off-by: Haavard Skinnemoen <
[email protected]
>
include/asm-avr32/arch-at32ap700x/clk.h
patch
|
blob
|
history
diff --git
a/include/asm-avr32/arch-at32ap700x/clk.h
b/include/asm-avr32/arch-at32ap700x/clk.h
index 385319aac758d1cce268c6e5d4cc5724cf8e6f41..309fda50e21d7613e5ed68134994fe9338c94f62 100644
(file)
--- a/
include/asm-avr32/arch-at32ap700x/clk.h
+++ b/
include/asm-avr32/arch-at32ap700x/clk.h
@@
-58,7
+58,7
@@
static inline unsigned long get_usart_clk_rate(unsigned int dev_id)
return get_pba_clk_rate();
}
#endif
-#ifdef AT32AP700x_CHIP_HAS_
USART
+#ifdef AT32AP700x_CHIP_HAS_
MACB
static inline unsigned long get_macb_pclk_rate(unsigned int dev_id)
{
return get_pbb_clk_rate();